package com.example.common.service.impl;

import com.example.common.service.TestService;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

@Lazy
@Service
@ConditionalOnMissingBean(TestService.class)
public class UspTestService implements TestService {

    @Override
    public Object doTest(Object param) {
        throw new UnsupportedOperationException("do test 不支持");
    }
}
